<!DOCTYPE html>
            
<HTML>
<HEAD>
<meta name="booktitle" content="Developing Applications With Objective Caml" >
 <meta charset="ISO-8859-1"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<META name="GENERATOR" content="hevea 1.05-7 of 2000-02-24">
<META NAME="Author" CONTENT="Christian.Queinnec@lip6.fr">
<LINK rel=stylesheet type="text/css" href="videoc-ocda.css">
<script language="JavaScript" src="videoc.js"><!--
//--></script>
<TITLE>
 Chapter outline
</TITLE>
</HEAD>
<BODY class="regularBody">
<A HREF="book-ora013.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora015.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2>Chapter outline</H2>
This chapter presents the basic elements of the functional part of the
Objective CAML language, namely its syntactic elements, its language
of types and its exception mechanism. This will lead us to the development
of a first example of a complete program.<BR>
<BR>
The first section describes the core of the language, beginning with
primitive values and the functions which manipulate them. We then go on to
structured values and to function values. The basic control structures are
introduced as well as local and global value declarations. The second
section deals with type definitions for the construction of structured
values and with pattern matching to access these structures. The third
section compares the inferred type of functions and their domain of
definition, which leads us to introduce the exception mechanism. The
fourth section illustrates all these notions put together, by describing a
simple application: a desktop calculator.<BR>
<BR>
<HR>
<A HREF="book-ora013.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora015.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
